package com.hwadee.ems.service.impl;

import com.hwadee.ems.domain.po.Major;
import com.hwadee.ems.mapper.MajorMapper;
import com.hwadee.ems.service.IMajorService;

import jakarta.annotation.PostConstruct;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 专业 服务实现类
 * </p>
 *
 * @author EnosElinsa
 * @since 2024/06/21
 */
@Service
public class MajorServiceImpl extends ServiceImpl<MajorMapper, Major> implements IMajorService {

    private static IMajorService instance;

    public static IMajorService getInstance() {
        return instance;
    }

    @PostConstruct
    void init() {
        instance = this;
    }

}
